package com.ruoyi.count.service;

import java.util.List;

import com.ruoyi.count.domain.StudentStatistics;
import com.ruoyi.count.domain.Studentstandardscores;

/**
 * studentstandardscoresService接口
 * 
 * @author yxy
 * @date 2024-10-24
 */
public interface IStudentstandardscoresService 
{
    /**
     * 查询studentstandardscores
     * 
     * @param id studentstandardscores主键
     * @return studentstandardscores
     */
    public Studentstandardscores selectStudentstandardscoresById(Long id);

    /**
     * 查询studentstandardscores列表
     * 
     * @param studentstandardscores studentstandardscores
     * @return studentstandardscores集合
     */
    public List<Studentstandardscores> selectStudentstandardscoresList(Studentstandardscores studentstandardscores);

    /**
     * 新增studentstandardscores
     * 
     * @param studentstandardscores studentstandardscores
     * @return 结果
     */
    public int insertStudentstandardscores(Studentstandardscores studentstandardscores);

    /**
     * 修改studentstandardscores
     * 
     * @param studentstandardscores studentstandardscores
     * @return 结果
     */
    public int updateStudentstandardscores(Studentstandardscores studentstandardscores);

    /**
     * 批量删除studentstandardscores
     * 
     * @param ids 需要删除的studentstandardscores主键集合
     * @return 结果
     */
    public int deleteStudentstandardscoresByIds(Long[] ids);

    /**
     * 删除studentstandardscores信息
     * 
     * @param id studentstandardscores主键
     * @return 结果
     */
    public int deleteStudentstandardscoresById(Long id);

    /**
     * 获取已经计算过分数时间  时间格式 : 2024-11
     * @param grade 年级
     * @param schoolId 学校id
     * @return
     */
    String getCalculationTime(String grade, String schoolId);

    /**
     * 根据学生id查询学生成绩
     * @param studentid
     * @return
     */
    List<Studentstandardscores> selectStudentstandardscoresListbyStudentid(String studentid);
}
